-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build improvements #3155
Draft
Vanmodeus
wants to merge
40
commits into
heal-research:main
Choose a base branch
from
Vanmodeus:build_improvements
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Build improvements #3155
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…nstallation is available
Changed outputPath to SolutionDir Set CopyLocal (Private) of referenced projects to false Removed PostBuildEvent
…revision has to be < 65535
…red projects to be self-contained)
…ow), changed .csproj
…\..\..\bin\ cascade
…ss and moved into /build)
…ects I utilized https://github.com/hvanbakel/CsprojToVs2017 for the rough conversion and fine-tuned the rest
…nalysisRuleSet, DocumentationFile)
When a Plugin.cs.frame file contains an empty line the PreBuildEvent inserts the output "ECHO ON" into the generated Plugin.cs file. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As described in #3152 the build process depends on a local git installation. Furthermore, the build process checks the current OS to execute specific Pre/PostBuildEvents and scripts (PreBuildEvent.cmd/.sh | MergeConfigs.cmd/.sh | ConfigMerger.exe) which leads to additional maintenance effort. To reduce these OS/machine specific dependencies, I've created a new .net standard 2.0 solution called HeuristicLab.Build, which includes the existing Pre/PostBuildEvents as MSBuild-Tasks and changed the existing .csproj files to utilize these new build tasks. The Version (revision to be more precise) uses minutes since midnight as a fallback if something goes wrong with git.
Please let me know what you think about this solution and if it also works on your machine.